#ifndef __ActionRotateObject_h_
#define __ActionRotateObject_h_
#include <iostream>
#include <Ogre.h>
#include <OIS/OIS.h>
#include "SceneObject.h"

class ActionRotateObject
{
	public:
		ActionRotateObject(Ogre::SceneNode *node);
		~ActionRotateObject();

		void mouseMoved(const OIS::MouseEvent &arg);
		void mousePressed(const OIS::MouseEvent &evt);
		void selectAxis(int ax);

	private:

		Ogre::SceneNode *mCurrentObject;         // The newly created object
		Ogre::Real mRotate;          // The rotate constant
		int axis;
};
#endif 